﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;

using QLTTAN.DAL;
using QLTTAN.DTO;
namespace QLTTAN.BLL
{
    public class TaiKhoanBLL
    {
        TaiKhoanDAL TK_DAL;

        public TaiKhoanBLL()
        {
            TK_DAL = new TaiKhoanDAL();
        }

        public DataTable TaiKhoan_Check(TaiKhoanDTO TK_DTO)
        {
            return TK_DAL.TaiKhoan_Check(TK_DTO);
        }

        public DataTable TaiKhoan_Get(TaiKhoanDTO TK_DTO)
        {
            return TK_DAL.TaiKhoan_Get(TK_DTO);
        }

        public DataTable TaiKhoan_Load()
        {
            return TK_DAL.TaiKhoan_Load();
        }

        public DataTable TaiKhoan_LoadQuyen()
        {
            return TK_DAL.TaiKhoan_LoadQuyen();
        }

        public int TaiKhoan_Insert(TaiKhoanDTO TK_DTO)
        {
            return TK_DAL.TaiKhoan_Insert(TK_DTO);
        }

        public int TaiKhoan_Update(TaiKhoanDTO TK_DTO)
        {
            return TK_DAL.TaiKhoan_Update(TK_DTO);
        }

        public int TaiKhoan_Delete(TaiKhoanDTO TK_DTO)
        {
            return TK_DAL.TaiKhoan_Delete(TK_DTO);
        }
    }
}
